package com.gamesnet.util;

import android.graphics.Color;
import android.widget.TabHost;

import com.gamesnet.ihm.Colors;

public class TabColors {
	
	public static void setUpTabColors(TabHost tabs){
		for (int i = 0; i < tabs.getTabWidget().getChildCount(); i++) {
			tabs.getTabWidget().getChildAt(i).setBackgroundColor(Color.parseColor(Colors.UNSELECTED_TAB));
		}
		tabs.getTabWidget().getChildAt(tabs.getCurrentTab()).setBackgroundColor(Color.parseColor(Colors.SELECTED_TAB));
	}

}
